<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>lbs云地理编码和云逆地理编码演示</title>
		<script src="../js/jquery.js"></script>
	</head>
	<body>
		<script>
			$(function(){
				var address = encodeURIComponent("泉城广场");
				$.getJSON("http://api.map.baidu.com/cloudgc/v1?ak=GzYjrkaTLoCd9xiMIbEkrb9HDCyuUmnN&address="+address+"&callback=?",
				function(data){
					console.log(data);
				});
			});
			
		</script>
	</body>
</html>
